Operator Precedence

As in conventional mathematics, ProModel evaluates expressions with more than one operator according to certain rules of precedence. Expressions with more than one operator evaluate in the following order:

1. Terms inside parentheses: ( )

2. Exponentiation: **

3. Multiplication: *; Division: /; and Modulus: @

4. Addition: +; Subtraction: -

5. Equalities and Inequalities: =, <>, >, >=, <, <=

6. NOT

7. AND

8. OR

9. Concatenation: $; (For string expressions only.)

For more information and additional examples of operator precedence, see Operator Precedence.